/**
 * set(js中集合的一种实现)
 */

const set = new Set();

set.add(1);

set.add({ name: 'hello' });

const x = { name: 'hello' };

set.add(x);

set.delete(1);

set.has(1);

